const state = {
  // userName: '1'
  markId: 1,
  markTitle: '',//置标管理 标题名字
}

const getters = {
  // userName(state) {
  //     return state.userName + 'getter'
  // }
}

const actions = {
  // setUserName(context, data) {
  //     setTimeout(() => {
  //         context.commit(events.SET_USER_NAME, data)
  //     }, 1000)
  // }
}

const mutations = {
  // [events.SET_USER_NAME]: function (state, data) {
  //     state.userName = data
  // }
  markInfo: (state, data) => {
    state.markId = data
  },
  setmarkTitle: (state, data) => {
    state.markTitle = data
  },


}
export default {
  state,
  getters,
  actions,
  mutations
}
